package com.ymatou.iapi.userservice.service;

import java.util.Map;

import com.ymt.base.YmatouBaseCall;
import com.ymt.core.tool.FormatUtil;
import com.ymttest.utils.EnvSetup;
/**
*获取用户扩展信息(目前只包含了用户是否第一次修改登录昵称)接口Call
*FreeMaker Template自动生成代码
*/
public class UserExtendingRequestDtoCall extends YmatouBaseCall{
	private static String opurl ="json/reply/UserExtendingRequestDto";
	
	public UserExtendingRequestDtoCall() {
		super(EnvSetup.getSystemUrl("userservice_iapi"),opurl,"GET","PARAM");
	}
	@Override
	public void addDefHeader() {
		client.addHeader("Accept","text/xml,text/javascript,text/html,application/json");
		client.addHeader("Content-Type", "application/json; charset=UTF-8");
	}
	
	public Map getResult(){
		Map result = (Map) FormatUtil.GSONToObject(getString("Result"), Map.class);
		return result;
	}
}